Conversation
275dbf1 to
695c6d6
Compare
Adds a review skill that can be invoked by humans in TUI sessions and by models programmatically. Provides a structured review methodology with bug patterns, analysis discipline, and reporting gates. Shared methodology is marked with BEGIN/END_SHARED_METHODOLOGY so the CI action can extract just the methodology for deep review prompts. TUI path returns findings locally; CI path posts PR comments. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
695c6d6 to
51dbc45
Compare
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
README.md
Outdated
| **Skills:** | ||
|
|
||
| - `review` - Review code changes and identify high-confidence, actionable bugs. Includes systematic analysis patterns for null safety, async/await, security, concurrency, API contracts, and more. Used by both the CLI `/review` command and the CI action. | ||
| - `session-navigation` - Search and navigate past Droid sessions |
There was a problem hiding this comment.
noticed these were missing, not sure if we should add or we omitted intentionally
| 2. **Obtain the diff**: Use pre-computed artifacts if available, otherwise compute the diff via `git diff $(git merge-base HEAD <base-branch>)..HEAD`. | ||
| 3. **Review all changed files**: Do not skip any file. Work through the diff methodically. | ||
|
|
||
| <!-- BEGIN_SHARED_METHODOLOGY --> |
There was a problem hiding this comment.
alternatively could also split the files, i think this might evolve as I determine how different the prompts are for deep vs shallow but currently the only difference is posting comments.
There was a problem hiding this comment.
Single file seems reasonable until we get a sense of cost dynamics
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Include candidate generation (file grouping, parallel subagents, aggregation) and validation (confidence-based filtering, strict deduplication) in SKILL.md. This makes the skill the single source of truth for the review process, used by both the CLI /review command and the CI action. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
jonathan-factory
left a comment
There was a problem hiding this comment.
Looks good, @factory-arman heads up that we're moving the review prompt from the droid-action repo to a core plugin skill
Will allow us to reuse the same review logic in /review, the droid-action CI job and in interactive mode when the user prompts for a review
| 2. **Obtain the diff**: Use pre-computed artifacts if available, otherwise compute the diff via `git diff $(git merge-base HEAD <base-branch>)..HEAD`. | ||
| 3. **Review all changed files**: Do not skip any file. Work through the diff methodically. | ||
|
|
||
| <!-- BEGIN_SHARED_METHODOLOGY --> |
There was a problem hiding this comment.
Single file seems reasonable until we get a sense of cost dynamics
Summary
Adds a
reviewskill to the core plugin atplugins/core/skills/review/SKILL.md. This is the canonical source of truth for the review methodology, used by both the CLI/reviewcommand and the CI action.What the Skill Contains
Shared Methodology (between
<!-- BEGIN/END_SHARED_METHODOLOGY -->markers)Two-Pass Review Pipeline
README
coreplugin section documenting thereviewskill